﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Setting.Master" AutoEventWireup="true" CodeBehind="UserList.aspx.cs" Inherits="WebSite.Company.UserList" %>
<%@ Register Assembly="BaseSet.Entity" Namespace="BaseSet.Entity.Common.Controls"
    TagPrefix="cc1" %>

    <asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="../JS/My97DatePicker/WdatePicker.js"></script>
    <title>友赢网 - 个人中心 - 小组成员</title>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="w-780">
<h2>小组成员</h2>
<div class="mian_dpcx">
     <ul>
     <li>昵称：<asp:TextBox ID="txtNickName" runat="server" Width="100px"></asp:TextBox></li>
     <li>开始日期：<asp:TextBox ID="txtBeginDate" runat="server" Width="100px" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox></li>
       <li>结束日期：<asp:TextBox ID="txtEndDate" runat="server" Width="100px" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox></li>
        
             <li>
                 <asp:ImageButton ID="ibSearch" runat="server" ImageUrl="../images/cx_03.jpg" 
                     onclick="ibSearch_Click" Width="52px" Height="25px"/></li>
                     <li><a href="CompanyList.aspx">返回</a></li>
     </ul>
     <div class="clear"></div>
     </div>
<ul class="formSet mt5">

    <asp:Repeater ID="rptUserList" runat="server" 
        onitemcommand="rptUserList_ItemCommand">
    <HeaderTemplate>
    <table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#cccfd1" bgcolor="#CCCFD1">
<tr align="center">
<td height="30" align="center" bgcolor="#E1E1E1" width="5%"><span class="STYLE4">序号</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="10%"><span class="STYLE4">用户昵称</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="15%"><span class="STYLE4">小组名称</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="15%"><span class="STYLE4">小组内创作数</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="15%"><span class="STYLE4">小组内创作收视量</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="15%"><span class="STYLE4">加入日期</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="20%"><span class="STYLE4">操作</span></td>
</tr>
    </HeaderTemplate>
    <ItemTemplate>
    <tr>
<td height="30" align="center" bgcolor="#FFFFFF"><%# Container.ItemIndex+1%></td>
<td height="30" align="center" bgcolor="#FFFFFF"><a href="../u/<%#Eval("UsersID")%>.aspx" target="_blank"><%#Eval("NickName")%></a>
    <asp:HiddenField ID="hidID" runat="server" Value='<%#Eval("ID")%>'/>
    <asp:HiddenField ID="hidUsersID" runat="server" Value='<%#Eval("UsersID")%>'/>
</td>
<td height="30" align="center" bgcolor="#FFFFFF"><a href="../c/<%#Eval("CompanyID")%>.aspx" target="_blank"><%#Eval("CompanyName")%></a></td>
<td height="30" align="center" bgcolor="#FFFFFF"><a href="UserCompanyBlogList.aspx?id=<%#Eval("CompanyID")%>&userid=<%#Eval("UsersID")%>" target="_blank"><%#Eval("blognum")%></a></td>
<td height="30" align="center" bgcolor="#FFFFFF"><%#Eval("blogpvnum")%></td>
<td height="30" align="center" bgcolor="#FFFFFF"><%# DataBinder.Eval(Container.DataItem,"CreateDate","{0:yyyy-MM-dd}") %></td>
<td height="30" align="center" bgcolor="#FFFFFF">
<asp:LinkButton ID="lbSendMessage" runat="server" CommandName="sendmessage">发送短消息</asp:LinkButton>
<asp:LinkButton ID="lbSendMoney" runat="server" CommandName="sendmoney" ForeColor="Red">发工资</asp:LinkButton>
    <asp:LinkButton ID="lbCancel" runat="server" OnClientClick="return confirm('确定要删除该成员吗？');" CommandName="cancel">删除</asp:LinkButton>
    
</td>
</tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
    </asp:Repeater>
       </ul>    
       <div align="center">
       <cc1:URLPager ID="UPager" runat="server" UseSpacer="False" UseFirstLast="true"
        PageSize="20" FirstText="<< 首页" LastText="尾页 >>" LinkFormatActive='<span class=Current>{1}</span>'
        CssClass="Pager" /> 
        </div>                                                        
</div>
</asp:Content>